import React, {Component} from 'react'
import {BrowserRouter as Router, Route} from 'react-router-dom'

import {connect} from 'react-redux'
import '../less/index.less'
import Index from './4th/index'

class App extends Component {
  render () {
    return (
        <Router>
          <div>
            <Route exact path='' component={Index} />
            <Route exact path='/4th' component={Index} />
          </div>
        </Router>
    )
  }
}

const mapStateToProps = ({lang}) => ({lang})

export default connect(mapStateToProps)(App)
